body{
    margin: 0;
    padding: 0;
    background-size: cover;
    font-family: roboto,'Google Sans','Noto Sans Myanmar UI',Arial, Helvetica, sans-serif;

}

.box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 25rem;
    padding: 2.5rem;
    box-sizing: border-box;
    border: 1px solid #dadce0;
    border-radius: 8px;
}

.box h2{
    margin: 0 0 -0.125rem;
    padding: 0;
    text-align: center;
    font-size: 24px;
    font-weight: bolder;
}

.box p{
    font-size: 16px;
    font-weight: normal;
    letter-spacing: .1px;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}

.box .inputBox {
    position: relative;
}

.box .inputBox input{
    width: 93%;
    padding: 0.625rem 10px;
    font-size: 1rem;
    letter-spacing: 0.062rem;
    margin-bottom: 1.875rem;
    border: 1px solid #dfe1e5;
    background: transparent;
    border-radius: 4px;
}

.box .inputBox label{
    position: absolute;
    top: 0;
    left: 10px;
    padding: 0.625rem;
    font-size: 1rem;
    color: #5f6368;
    pointer-events: none;
    transition: 0.3s;
}

.forgot {
    margin-top: -20px;
}

.forgot button,.creat_or_submit button {
    border-radius: 4px;
    color: #1a73e8;
    display: inline-block;
    font-weight: 500;
    letter-spacing: .25px;
    outline: 0;
    position: relative;
    background-color: transparent;
    font-size: inherit;
    padding: 0;
    text-align: left;
    border: 0;
}

.creat_or_submit{
    margin-top: 30px;
}

.creat_or_submit button:hover{
    /* color: #174ea6; */
    background-color: transparent;
}

.box input[type="submit"]{
    border: none;
    outline: none;
    color: #fff;
    background-color: #1a73e8;
    padding: 0.625rem 1.25rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    float: right;
}

.box input[type="submit"]:hover{
    background-color: #287ae6;
}

/* A ~ B 为选择 A 元素后面的所有 B 元素 */

.box .inputBox input:focus ~ label,
.box .inputBox input:valid ~ label,
.box .inputBox input:not([value=""]) ~ label{
    top: -0.5rem;
    left: 10px;
    color: #1a73e8;
    font-size: .75rem;
    background-color: #fff;
    height: 10px;
    padding: 0 5px;
}

.box .inputBox input:focus {
    outline: none;
    border: 2px solid #1a73e8;

}